package com.axend.aerosense.common.bean;

import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.common.base.IEventBaseContent;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 首页 预警记录
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EarlyWarningBean extends BaseBean implements IEventBaseContent {
    //预警日志uuid
    private String earlyWarningUuid;
    //预警日志类型
    private int earlyWarningType;
    //预警日志类型名称
    private String earlyWarningTypeName;
    //预警日志提示内容
    private String earlyWarningMsg; // 此处字段需要拆分成2个字段,如:连续久坐时长：超过4小时 拆分成1：连续久坐时长, 2:超过4小时
    //预警日志发生时间
    private String earlyWarningTime;
    //预警日志提示类型 1:提示 2:警告
    private int earlyWarningTipType;
    //温馨提示
    private String earlyWarningTips;
    //提醒标题
    private String earlyWarningTitle;

    //房间名称
    private String roomName;
    //受监护人名字
    private String wardName;
    //雷达设备名称
    private String radarName;
    //日志状态（是否已读或未读）
    private int earlyWarningLogState;
    // 时区
    private String earlyWarningTimeZone;

    @Override
    public String getEventTypeName() {
        return earlyWarningTypeName;
    }

    @Override
    public int getEventType() {
        return earlyWarningType;
    }

    @Override
    public String getEventTime() {
        return earlyWarningTime;
    }

    @Override
    public String getEventRoomName() {
        return roomName;
    }


}
